# -*- coding: utf-8 -*-
"""
------------------------------------------------------------------------------
    File Name:  ajax_demo
    Author   :  wanwei1029
    Date     :  2018/10/20
    Desc     :
------------------------------------------------------------------------------
"""
import requests


def process_aikan_content():
    url = "https://www.aikantxt.la/content.php"
    data = {"nbid": 39502, "crid": 18718027, "fid": "fb96549631c835eb239cd614cc6b5cb7d295121a"}
    headers = {
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36'
    }
    r = requests.post(url, data=data, headers=headers)
    print(r)
    print(r.text)

def demo():
    """
    """
    process_aikan_content()


if __name__ == '__main__':
    test_method = "demo"
    if test_method == "demo":
        demo()
